home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / space / software / unix / xanim / makefile.std < prev    next >
Encoding:
Makefile  |  1992-08-04  |  1.9 KB  |  104 lines

  1.  
  2. #
  3. # Makefile for XAnim
  4. #
  5.  
  6. ##################################
  7. # Choose your favourite comiler.
  8. #
  9. # GNU C
  10. #CC = gcc
  11.  
  12. # other
  13. CC = cc
  14.  
  15. ##################################
  16. # Optimization flags
  17. #
  18. #  GNU C
  19. #OPTIMIZE= -fcombine-regs -O
  20. OPTIMIZE = -O
  21.  
  22. ##################################
  23. #
  24. #CFLAGS    =  -g
  25. #CFLAGS    =  $(OPTIMIZE) -g
  26. CFLAGS    =  $(OPTIMIZE)
  27.  
  28. ##################################
  29. #
  30. # If you have a i486 box running Interactive UNIX v2.2.1 you might
  31. # have to uncomment the following line.
  32. #OTHER_LIBS = -linet
  33.  
  34. ##################################
  35. #  Give the path to your X11 libraries
  36. #
  37. XLIBDIR = -L/usr/lib/X11
  38.  
  39.  
  40. #
  41. # Needed X11 libraries
  42. #
  43. XLIBS    = $(OTHER_LIBS) -lXt -lX11
  44.  
  45. CFILES = xanim.c xanim_x11.c xanim_fli.c xanim_iff.c xanim_gif.c \
  46.     xanim_txt.c unpacker.c xanim_utils.c xanim_act.c \
  47.     xanim_dl.c
  48.  
  49. OFILES = $(CFILES:.c=.o)
  50.  
  51. xanim: $(OFILES) $(OJFILES)
  52.     $(CC) $(CFLAGS) -o xanim $(OFILES) $(XLIBDIR) $(XLIBS)
  53.  
  54.  
  55. txtmerge:    
  56.     $(CC) $(CFLAGS) -o txtmerge txtmerge.c
  57.  
  58.  
  59. # DO NOT DELETE THIS LINE
  60. xanim.o: mytypes.h
  61. xanim.o: xanim.h
  62. xanim.o: xanim_config.h
  63. xanim.o: xanim_x11.h
  64. xanim.o: xanim.c
  65. xanim_x11.o: mytypes.h
  66. xanim_x11.o: xanim.h
  67. xanim_x11.o: xanim_x11.h
  68. xanim_x11.o: xanim_x11.c
  69. xanim_fli.o: mytypes.h
  70. xanim_fli.o: xanim.h
  71. xanim_fli.o: xanim_fli.h
  72. xanim_fli.o: xanim_fli.c
  73. xanim_iff.o: mytypes.h
  74. xanim_iff.o: xanim.h
  75. xanim_iff.o: xanim_iff.h
  76. xanim_iff.o: xanim_iff.c
  77. xanim_gif.o: mytypes.h
  78. xanim_gif.o: xanim.h
  79. xanim_gif.o: xanim_gif.h
  80. xanim_gif.o: xanim_gif.c
  81. xanim_txt.o: mytypes.h
  82. xanim_txt.o: xanim.h
  83. xanim_txt.o: xanim_txt.h
  84. xanim_txt.o: xanim_txt.c
  85. xanim_dl.o: mytypes.h
  86. xanim_dl.o: xanim.h
  87. xanim_dl.o: xanim_dl.h
  88. xanim_dl.o: xanim_dl.c
  89. xanim_act.o: mytypes.h
  90. xanim_act.o: xanim.h
  91. xanim_act.o: xanim_act.h
  92. xanim_act.o: xanim_act.c
  93. xanim_utils.o: mytypes.h
  94. xanim_utils.o: xanim.h
  95. xanim_utils.o: xanim_utils.h
  96. xanim_utils.o: xanim_utils.c
  97. unpacker.o: mytypes.h
  98. unpacker.o: unpacker.c
  99. txtmerge: mytypes.h
  100. txtmerge: xanim.h
  101. txtmerge: xanim_gif.h
  102. txtmerge: txtmerge.c
  103.